package com.assignwork.mapper;

import com.assignwork.dto.TrainLoadLogDTO;
import com.assignwork.vo.TrainLoadLogVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.assignwork.entity.TrainLoadLog;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 火车装卸日志Mapper
 */
public interface TrainLoadLogMapper extends BaseMapper<TrainLoadLog> {

    IPage<TrainLoadLogVO> pageTrainLoadLog(IPage<TrainLoadLogVO> page, @Param("search") TrainLoadLogDTO search);


    List<TrainLoadLogVO> noPageTrainLoadLog( @Param("search") TrainLoadLogDTO search);

}